package online.foxnull2.foxmall.seckill.vo;

import lombok.Data;
import lombok.experimental.Accessors;
import online.foxnull2.foxmall.seckill.to.SkuInfoTo;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
public class SeckillSkuRedisVo implements Serializable {
    /**
     * id
     */
    private Long id;
    /**
     * 活动id
     */
    private Long promotionId;
    /**
     * 活动场次id
     */
    private Long promotionSessionId;
    /**
     * 商品id
     */
    private Long skuId;
    /**
     * 秒杀价格
     */
    private BigDecimal seckillPrice;
    /**
     * 秒杀总量
     */
    private BigDecimal seckillCount;
    /**
     * 每人限购数量
     */
    private BigDecimal seckillLimit;
    /**
     * 排序
     */
    private Integer seckillSort;
    /**
     * sku info
     */
    private SkuInfoTo skuInfoTo;
    /**
	 * sku seckill 开始时间
	 */
	private Long startTime;
	/**
	 * sku seckill 结束时间
	 */
	private Long endTime;
    /**
     * sku seckill random code
     */
    private String randomCode;
}
